package com.richstonedt.smartcity.xaytsccommoncs.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.richstonedt.smartcity.xaytsccommonms.model.FileStorage;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <b><code>FileStorageDao</code></b>
 * <p/>
 * Description  通用-文件表 Mapper 接口
 * <p/>
 * <b>Creation Time:</b> 2022/3/29 15:56:45
 *
 * @author tangjiahuan
 * @since xaytsc-common-be
 */
public interface FileStorageDao extends BaseMapper<FileStorage> {

    /**
     * 批量删除记录
     * @param fileNames 根据文件名删除（obs对象key）
     * @return int
     */
    int deleteBatchFileStorage(@Param("fileNames") List<String> fileNames);

}
